<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>健康方案</title>
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/vant@2.4/lib/index.css">
    <link rel="stylesheet" href="../global.css">
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/vant@2.4/lib/vant.min.js"></script>
</head>
<body>
<div class="bg"></div>
<div id="app">
    <van-row>
        <van-col span="24">
            <van-nav-bar
                    title="健康方案"
                    left-text="返回"
                    left-arrow
                    @click-left="onClickLeft"
            />
        </van-col>
        <van-col span="24">
            <div class="box p-3 m-4">
                <p class="size4 bold">基本信息</p>
                <div class="mt-5">
                    <p class="size2 color-ash">基本信息</p>
                    <van-progress class="mt-3" pivot-text="90.5" color="#22eba5" :percentage="90"></van-progress>
                    <p class="d-flex justify-content-between size1">
                        <span>0</span>
                        <span>100</span>
                    </p>
                </div>
                <div class="mt-5">
                    <p class="size2 color-ash">bmi</p>
                    <van-progress class="mt-3" pivot-text="76KG" color="#ee0a24" :percentage="55"></van-progress>
                    <p class="d-flex justify-content-between size1">
                        <span>偏瘦</span>
                        <span>正常</span>
                        <span>超重</span>
                        <span>肥胖</span>
                    </p>
                </div>
                <div class="mt-5 mb-5">
                    <p class="size2 color-ash">健康体重</p>
                    <div class="range">
                        <div>
                            <span>55.4kg</span>
                            <span>72.4kg</span>
                        </div>
                    </div>
                </div>
            </div>
        </van-col>
        <van-col span="24">
            <div class="box p-3 m-4">
                <p class="size4 bold">目标体重</p>
                <div class="d-flex align-items-center mt-3">
                    <div class="text-center flex-grow-shrink">
                        <van-tag>测评体重</van-tag>
                        <p>
                            <span class="size5">77.5</span>
                            <span class="size1">kg</span>
                        </p>
                        <p class="size1 color-ash">2020.05.17</p>
                    </div>
                    <div class="w-100">
                        <van-divider>12.2kg</van-divider>
                    </div>
                    <div class="text-center flex-grow-shrink">
                        <van-tag type="success">目标体重</van-tag>
                        <p>
                            <span class="size5">77.5</span>
                            <span class="size1">kg</span>
                        </p>
                        <p class="size1 color-ash">2020.05.17</p>
                    </div>
                </div>
            </div>
        </van-col>
        <van-col span="24">
            <div class="box p-3 m-4">
                <p class="size4 bold">测评结果</p>
                <p class="bg-f9 border p-3 size2 mt-3">
                    文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字
                </p>
                <p class="mt-3">当前每日代写所需热量:</p>
                <p class="size5 bold color-lesser">1155千卡</p>
            </div>
        </van-col>
    </van-row>
</div>
</body>
<script>
    new Vue({
        el: '#app',
        data() {
            return {};
        },
        methods: {
            onClickLeft() {
                Toast('返回');
            },
        },
    });
</script>
</html>